package io.hxci.modules.tea.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 教师科研成果转化情况
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tea_scientific")
public class TeaScientific {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "user_id")
    private Long userId;

    /**
     * 项目成果名称
     */
    @TableField(value = "scientific_name")
    private String scientificName;

    /**
     * 类别id
     */
    @TableField(value = "scientific_kind_id")
    private Integer scientificKindId;

    /**
     * 转化金额（万元）
     */
    @TableField(value = "price")
    private Double price;

    /**
     * 参与学生数
     */
    @TableField(value = "stu_count")
    private Integer stuCount;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;


    @TableField(exist=false)
    private String num;
    @TableField(exist=false)
    private String username;
    @TableField(exist=false)
    private String deptname;

    @TableField(exist=false)
    private String scientificKindName;
}